package card;




import card.lands.Forest;
import card.lands.Mountains;
import card.lands.Plains;
import card.lands.Swamp;
import card.lands.Tundra;
import card.lands.Wasteland;
import core.RandomGenerator;


public class CardFactory {
	
	static int landCounter=0;
	public static LandCard getRandomLandCard(){
		LandCard card = null;
			
			int random =RandomGenerator.getRandomValue(1, 6);
			
			if (random == 1)
				card = new Wasteland();
			
			if (random == 2)
				card = new Plains();
			
			if (random == 3)
				card = new Mountains(); 
			
			if (random== 4)
				card = new Swamp();
			
			if (random == 5)
				card = new Forest();
			
			if (random == 6)
				card = new Tundra();
			
			landCounter++;
			return card;	
	}
}
